
/**
 * The Skill of the player
 * @author Nirav
 */
public class Skill {

    public static final int MAX_POINTS = 16;
    private int pilot;
    private int engineer;
    private int trader;
    private int fighter;

    public Skill(int pilot, int engineer, int trader, int fighter) {
        setPilot(pilot);
        setEngineer(engineer);
        setTrader(trader);
        setFighter(fighter);
    }

    public Skill() {

        this(MAX_POINTS / 4, MAX_POINTS / 4, MAX_POINTS / 4, MAX_POINTS / 4);

    }

    public int getEngineer() {
        return engineer;
    }

    public final void setEngineer(int engineer) {
        this.engineer = engineer;
    }

    public int getFighter() {
        return fighter;
    }

    public final void setFighter(int fighter) {
        this.fighter = fighter;
    }

    public int getPilot() {
        return pilot;
    }

    public final void setPilot(int pilot) {
        this.pilot = pilot;
    }

    public int getTrader() {
        return trader;
    }

    public final void setTrader(int trader) {
        this.trader = trader;
    }
}
